﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using YiMeiJiaLibModel.Business;
using YiMeiJiaLibModel.Business.Dto;

namespace YiMeiJiaService.IService
{
    public interface IGoods
    {
        /// <summary>
        /// 获取随机推荐商品
        /// </summary>
        /// <param name="msg"></param>
        /// <returns></returns>
        Task<List<GoodListDTO>> GetGoodsRecommendList( string msg);

        /// <summary>
        /// 获取所有分类
        /// </summary>
        /// <param name="msg"></param>
        /// <returns></returns>
        Task<List<WxGoodCategoryDto>> GetAllCategories(string msg);

        /// <summary>
        /// 获取商品详情
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task<CoreCmsGoodsDto> GetGoodDetail(int id);
    }
}
